From 6eb3ab7bd32c36556c0967c8668d161bf741b3ad Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 27 Nov 2014 06:28:39 +0100 Subject: disown opencascade-docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- opencascade-docs [disowned]/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 opencascade-docs [disowned]/PKGBUILD (limited to 'opencascade-docs [disowned]/PKGBUILD') diff --git a/opencascade-docs [disowned]/PKGBUILD b/opencascade-docs [disowned]/PKGBUILD new file mode 100644 index 0000000..866c519 --- /dev/null +++ b/opencascade-docs [disowned]/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +pkgname=opencascade-docs +pkgver=6.6.0 +pkgrel=1 +pkgdesc="Documentation and examples for opencascade." +url="http://www.opencascade.org" +license="custom" +depends=() +makedepends=() +provides=() +conflicts=() +options=(!strip !upx) +replaces=() +arch=('i686' 'x86_64') +source=("http://files.opencascade.com/OCCT/OCC_${pkgver}_release/OpenCASCADE${pkgver//./}.tgz") +md5sums=('ad698d9b1e370c14999e7ec130575c92') + +package() { + # Installation dir + local _installdir=/opt/opencascade + + # Copy files from source to the installation dir + install -d -m 755 "${pkgdir}${_installdir}" || return 1 + cp -r "${srcdir}/ros/data" \ + "${srcdir}/ros/samples" \ + "${srcdir}/ros/doc" \ + "${pkgdir}${_installdir}" || return 1 +} + -- cgit v1.2.3-70-g09d2